package com.pg.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pg.entity.kgg.EipMainCircuitResist;
import com.pg.mapper.EipMainCircuitResistMapper;
import com.pg.service.EipMainCircuitResistService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 主回路电阻值 服务类
 * </p>
 *
 * @Author likl
 * @since 2020-10-26
 */
@Service
@DS("proxyDs")
@Primary
public class EipMainCircuitResistServiceImpl extends ServiceImpl<EipMainCircuitResistMapper, EipMainCircuitResist> implements EipMainCircuitResistService {

    @Autowired
    private EipMainCircuitResistMapper eipMainCircuitResistMapper;

    @Override
    public void saveOne(EipMainCircuitResist eipMainCircuitResist) {
        eipMainCircuitResistMapper.insert(eipMainCircuitResist);
    }
}
